package com.xiaoye.qbproject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoye.qbproject.domain.SubjectZb;
import com.xiaoye.qbproject.domain.ZbInfo;
import com.xiaoye.qbproject.vo.SubjectZbVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【SUBJECT_ZB(专题与装备关联表)】的数据库操作Mapper
 * @createDate 2025-02-11 15:38:16
 * @Entity com.xiaoye.qbproject.domain.SubjectZb
 */
public interface SubjectZbMapper extends BaseMapper<SubjectZb> {

    List<ZbInfo> getZbListOfSubjectZb(@Param("subjectZbVo") SubjectZbVo subjectZbVo);

    /**
     * @param subjectId
     * @description: 根据专题id获取装备ids
     * @author: ChenYao
     * @return: java.util.List<java.lang.String>
     * @ceateDate: 2025/2/11 下午5:19
     */
    List<String> getZbIdsBySubjectId(@Param("subjectId") String subjectId);
}




